package com.demo.entity;

import java.util.List;

public class Teacher {
    private String tid;

    private String tname;

    private String tpwd;

    private String tmajorId;

    private Integer tsuiplus;

    private String tintroduction;

    private Major major;

    private List<Student> studentList;

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    public Major getMajor() {
        return major;
    }

    public void setMajor(Major major) {
        this.major = major;
    }

    public String getTintroduction() {
        return tintroduction;
    }

    public void setTintroduction(String tintroduction) {
        this.tintroduction = tintroduction;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid == null ? null : tid.trim();
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname == null ? null : tname.trim();
    }

    public String getTpwd() {
        return tpwd;
    }

    public void setTpwd(String tpwd) {
        this.tpwd = tpwd == null ? null : tpwd.trim();
    }

    public String getTmajorId() {
        return tmajorId;
    }

    public void setTmajorId(String tmajorId) {
        this.tmajorId = tmajorId == null ? null : tmajorId.trim();
    }

    public Integer getTsuiplus() {
        return tsuiplus;
    }

    public void setTsuiplus(Integer tsuiplus) {
        this.tsuiplus = tsuiplus;
    }
}